package com.ruoyi.teaching.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 节假日配置对象 ya_holiday_config
 *
 * @author ruoyi
 * @date 2025-08-29
 */
//@Data
public class YaHolidayConfig extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * ID
   */
  @Excel(name = "ID")
  private Long id;

  /**
   * 日期
   */
  @Excel(name = "日期")
  private String year;

  /**
   * 内容
   */
  private String content;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setYear(String year) {
    this.year = year;
  }

  public String getYear() {
    return year;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getContent() {
    return content;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
      .append("id", getId())
      .append("year", getYear())
      .append("content", getContent())
      .toString();
  }
}
